//
// Created by ✎﹏ℳ๓独赏 ☆独醉 on 2023/2/28.


//百钱买百鸡
#include <stdio.h>

int main(){
    int x,y,z;
    for(x=0;x<=20;x++){
        for(y=0;y<=33;y++){
            z = 100-x-y;
            if(z%3==0 && 5*x+3*y+z/3== 100){
                printf("%d,%d,%d\n",x,y,z);
            }
        }
    }
}